---
title: connection_data.proto
hide_title: true
---

import { ProtoMessage, ProtoServiceMethod, ProtoEnum } from '@theme/ProtoFile';

# `connection_data.proto`
_**path** mgmt/v1alpha1/connection_data.proto_

_**package** mgmt.v1alpha1_



---

## Messages


### `AwsDynamoDBStreamConfig`
<ProtoMessage key={0} message={{"name":"AwsDynamoDBStreamConfig","longName":"AwsDynamoDBStreamConfig","fullName":"mgmt.v1alpha1.AwsDynamoDBStreamConfig","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `AwsS3SchemaConfig`
<ProtoMessage key={1} message={{"name":"AwsS3SchemaConfig","longName":"AwsS3SchemaConfig","fullName":"mgmt.v1alpha1.AwsS3SchemaConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"job_id","description":"The unique identifier of the job to get the schema for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"id","defaultValue":""},{"name":"job_run_id","description":"The unique identifier of the job run to get the schema for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"id","defaultValue":""}]}} />


### `AwsS3StreamConfig`
<ProtoMessage key={2} message={{"name":"AwsS3StreamConfig","longName":"AwsS3StreamConfig","fullName":"mgmt.v1alpha1.AwsS3StreamConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"job_id","description":"The unique identifier of the job to get the data stream for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"id","defaultValue":""},{"name":"job_run_id","description":"The unique identifier of the job run to get the data stream for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"id","defaultValue":""}]}} />


### `ConnectionSchemaConfig`
<ProtoMessage key={3} message={{"name":"ConnectionSchemaConfig","longName":"ConnectionSchemaConfig","fullName":"mgmt.v1alpha1.ConnectionSchemaConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"pg_config","description":"","label":"","type":"PostgresSchemaConfig","longType":"PostgresSchemaConfig","fullType":"mgmt.v1alpha1.PostgresSchemaConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#postgresschemaconfig"},{"name":"aws_s3_config","description":"","label":"","type":"AwsS3SchemaConfig","longType":"AwsS3SchemaConfig","fullType":"mgmt.v1alpha1.AwsS3SchemaConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#awss3schemaconfig"},{"name":"mysql_config","description":"","label":"","type":"MysqlSchemaConfig","longType":"MysqlSchemaConfig","fullType":"mgmt.v1alpha1.MysqlSchemaConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#mysqlschemaconfig"},{"name":"mongo_config","description":"","label":"","type":"MongoSchemaConfig","longType":"MongoSchemaConfig","fullType":"mgmt.v1alpha1.MongoSchemaConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#mongoschemaconfig"},{"name":"gcp_cloudstorage_config","description":"","label":"","type":"GcpCloudStorageSchemaConfig","longType":"GcpCloudStorageSchemaConfig","fullType":"mgmt.v1alpha1.GcpCloudStorageSchemaConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#gcpcloudstorageschemaconfig"},{"name":"dynamodb_config","description":"","label":"","type":"DynamoDBSchemaConfig","longType":"DynamoDBSchemaConfig","fullType":"mgmt.v1alpha1.DynamoDBSchemaConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#dynamodbschemaconfig"},{"name":"mssql_config","description":"","label":"","type":"MssqlSchemaConfig","longType":"MssqlSchemaConfig","fullType":"mgmt.v1alpha1.MssqlSchemaConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#mssqlschemaconfig"}]}} />


### `ConnectionStreamConfig`
<ProtoMessage key={4} message={{"name":"ConnectionStreamConfig","longName":"ConnectionStreamConfig","fullName":"mgmt.v1alpha1.ConnectionStreamConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"pg_config","description":"","label":"","type":"PostgresStreamConfig","longType":"PostgresStreamConfig","fullType":"mgmt.v1alpha1.PostgresStreamConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#postgresstreamconfig"},{"name":"aws_s3_config","description":"","label":"","type":"AwsS3StreamConfig","longType":"AwsS3StreamConfig","fullType":"mgmt.v1alpha1.AwsS3StreamConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#awss3streamconfig"},{"name":"mysql_config","description":"","label":"","type":"MysqlStreamConfig","longType":"MysqlStreamConfig","fullType":"mgmt.v1alpha1.MysqlStreamConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#mysqlstreamconfig"},{"name":"gcp_cloudstorage_config","description":"","label":"","type":"GcpCloudStorageStreamConfig","longType":"GcpCloudStorageStreamConfig","fullType":"mgmt.v1alpha1.GcpCloudStorageStreamConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#gcpcloudstoragestreamconfig"},{"name":"dynamodb_config","description":"","label":"","type":"AwsDynamoDBStreamConfig","longType":"AwsDynamoDBStreamConfig","fullType":"mgmt.v1alpha1.AwsDynamoDBStreamConfig","ismap":false,"isoneof":true,"oneofdecl":"config","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#awsdynamodbstreamconfig"}]}} />


### `DatabaseColumn`
<ProtoMessage key={5} message={{"name":"DatabaseColumn","longName":"DatabaseColumn","fullName":"mgmt.v1alpha1.DatabaseColumn","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"schema","description":"The database schema. Ex: public","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"table","description":"The name of the table in the schema","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"column","description":"The name of the column","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"data_type","description":"The datatype of the column","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"is_nullable","description":"The isNullable Flag of the column","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"column_default","description":"The default value of the column if available","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_column_default","defaultValue":""},{"name":"generated_type","description":"Populated if the column is generated. The value is the type of generated column it is. For example, postgres is 's' for stored\nMay be other values in the future, or other DB providers may use a different value types.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_generated_type","defaultValue":""},{"name":"identity_generation","description":"Populated if the column is an identity. The value is the type of the identity column it is. For example, postgres is 'd' for generated by default, or 'a' for generated always.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_identity_generation","defaultValue":""}]}} />


### `DatabaseTable`
<ProtoMessage key={6} message={{"name":"DatabaseTable","longName":"DatabaseTable","fullName":"mgmt.v1alpha1.DatabaseTable","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"schema","description":"The schema of the table","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"table","description":"The table name","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `DynamoDBSchemaConfig`
<ProtoMessage key={7} message={{"name":"DynamoDBSchemaConfig","longName":"DynamoDBSchemaConfig","fullName":"mgmt.v1alpha1.DynamoDBSchemaConfig","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `ForeignConstraint`
<ProtoMessage key={8} message={{"name":"ForeignConstraint","longName":"ForeignConstraint","fullName":"mgmt.v1alpha1.ForeignConstraint","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"foreign_key","description":"The foreign key that is associated with the constraint","label":"","type":"ForeignKey","longType":"ForeignKey","fullType":"mgmt.v1alpha1.ForeignKey","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#foreignkey"},{"name":"columns","description":"The columns that are part of the constraint","label":"repeated","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"not_nullable","description":"The not nullable flag for each column","label":"repeated","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `ForeignConstraintTables`
<ProtoMessage key={9} message={{"name":"ForeignConstraintTables","longName":"ForeignConstraintTables","fullName":"mgmt.v1alpha1.ForeignConstraintTables","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"constraints","description":"A list of foreign key constraints","label":"repeated","type":"ForeignConstraint","longType":"ForeignConstraint","fullType":"mgmt.v1alpha1.ForeignConstraint","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#foreignconstraint"}]}} />


### `ForeignKey`
<ProtoMessage key={10} message={{"name":"ForeignKey","longName":"ForeignKey","fullName":"mgmt.v1alpha1.ForeignKey","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"table","description":"The table that the foreign key is associated with","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"columns","description":"The columns that are part of the foreign key","label":"repeated","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GcpCloudStorageSchemaConfig`
<ProtoMessage key={11} message={{"name":"GcpCloudStorageSchemaConfig","longName":"GcpCloudStorageSchemaConfig","fullName":"mgmt.v1alpha1.GcpCloudStorageSchemaConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"job_id","description":"The unique identifier of the job to get the schema for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"id","defaultValue":""},{"name":"job_run_id","description":"The unique identifier of the job run to get the schema for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"id","defaultValue":""}]}} />


### `GcpCloudStorageStreamConfig`
<ProtoMessage key={12} message={{"name":"GcpCloudStorageStreamConfig","longName":"GcpCloudStorageStreamConfig","fullName":"mgmt.v1alpha1.GcpCloudStorageStreamConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"job_id","description":"The unique identifier of the job to get the data stream for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"id","defaultValue":""},{"name":"job_run_id","description":"The unique identifier of the job run to get the data stream for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"id","defaultValue":""}]}} />


### `GetAiGeneratedDataRequest`
<ProtoMessage key={13} message={{"name":"GetAiGeneratedDataRequest","longName":"GetAiGeneratedDataRequest","fullName":"mgmt.v1alpha1.GetAiGeneratedDataRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"ai_connection_id","description":"The unique identifier of a connection, specifically one that is configured for LLM use.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"count","description":"The number of records to generate","label":"","type":"int64","longType":"int64","fullType":"int64","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"model_name","description":"The LLM model name to use that works with the configured connection id.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"user_prompt","description":"The prompt that will be used to further refine the data generation. This is appended to the prompt that Neosync generates that includes schema information.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_user_prompt","defaultValue":""},{"name":"data_connection_id","description":"The unique identifier of a connection that the AI generated data would be inserted into. This is used to generate and send schema information to the LLM to help shape the generated data.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"table","description":"The table to generate data for.","label":"","type":"DatabaseTable","longType":"DatabaseTable","fullType":"mgmt.v1alpha1.DatabaseTable","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#databasetable"}]}} />


### `GetAiGeneratedDataResponse`
<ProtoMessage key={14} message={{"name":"GetAiGeneratedDataResponse","longName":"GetAiGeneratedDataResponse","fullName":"mgmt.v1alpha1.GetAiGeneratedDataResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"records","description":"A list of generated records","label":"repeated","type":"Struct","longType":"google.protobuf.Struct","fullType":"google.protobuf.Struct","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetAllSchemasAndTablesRequest`
<ProtoMessage key={15} message={{"name":"GetAllSchemasAndTablesRequest","longName":"GetAllSchemasAndTablesRequest","fullName":"mgmt.v1alpha1.GetAllSchemasAndTablesRequest","description":"Request to get all the schemas and tables for a connection","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connection_id","description":"The unique identifier of the connection to get the all schema tables for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetAllSchemasAndTablesResponse`
<ProtoMessage key={16} message={{"name":"GetAllSchemasAndTablesResponse","longName":"GetAllSchemasAndTablesResponse","fullName":"mgmt.v1alpha1.GetAllSchemasAndTablesResponse","description":"A list of all the schemas and tables for a connection","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"schemas","description":"A list of all the schemas for a connection. Empty schemas (those without any tables) will appear in this list.","label":"repeated","type":"Schema","longType":"GetAllSchemasAndTablesResponse.Schema","fullType":"mgmt.v1alpha1.GetAllSchemasAndTablesResponse.Schema","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getallschemasandtablesresponseschema"},{"name":"tables","description":"A list of all the tables for the connection","label":"repeated","type":"Table","longType":"GetAllSchemasAndTablesResponse.Table","fullType":"mgmt.v1alpha1.GetAllSchemasAndTablesResponse.Table","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getallschemasandtablesresponsetable"}]}} />


### `GetAllSchemasAndTablesResponse.Schema`
<ProtoMessage key={17} message={{"name":"Schema","longName":"GetAllSchemasAndTablesResponse.Schema","fullName":"mgmt.v1alpha1.GetAllSchemasAndTablesResponse.Schema","description":"A schema","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"name","description":"The name of the schema","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetAllSchemasAndTablesResponse.Table`
<ProtoMessage key={18} message={{"name":"Table","longName":"GetAllSchemasAndTablesResponse.Table","fullName":"mgmt.v1alpha1.GetAllSchemasAndTablesResponse.Table","description":"A table in a schema","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"schema_name","description":"The name of the schema","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"table_name","description":"The name of the table","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetConnectionDataStreamRequest`
<ProtoMessage key={19} message={{"name":"GetConnectionDataStreamRequest","longName":"GetConnectionDataStreamRequest","fullName":"mgmt.v1alpha1.GetConnectionDataStreamRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connection_id","description":"The unique identifier of the connection to get the data stream for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"stream_config","description":"The stream configuration to use for the data stream.","label":"","type":"ConnectionStreamConfig","longType":"ConnectionStreamConfig","fullType":"mgmt.v1alpha1.ConnectionStreamConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#connectionstreamconfig"},{"name":"schema","description":"The schema of the table to get the data stream for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"table","description":"The table to get the data stream for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetConnectionDataStreamResponse`
<ProtoMessage key={20} message={{"name":"GetConnectionDataStreamResponse","longName":"GetConnectionDataStreamResponse","fullName":"mgmt.v1alpha1.GetConnectionDataStreamResponse","description":"Each stream response is a single row in the requested schema and table","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"row_bytes","description":"A map of column name to column value, where the value is serialized as bytes. The value represents a map[string]any structure.","label":"","type":"bytes","longType":"bytes","fullType":"bytes","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetConnectionInitStatementsRequest`
<ProtoMessage key={21} message={{"name":"GetConnectionInitStatementsRequest","longName":"GetConnectionInitStatementsRequest","fullName":"mgmt.v1alpha1.GetConnectionInitStatementsRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connection_id","description":"The unique identifier of the connection to get the init statements for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"options","description":"The options to use for the init statements.","label":"","type":"InitStatementOptions","longType":"InitStatementOptions","fullType":"mgmt.v1alpha1.InitStatementOptions","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#initstatementoptions"}]}} />


### `GetConnectionInitStatementsResponse`
<ProtoMessage key={22} message={{"name":"GetConnectionInitStatementsResponse","longName":"GetConnectionInitStatementsResponse","fullName":"mgmt.v1alpha1.GetConnectionInitStatementsResponse","description":"Init statement for a specific table","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"table_init_statements","description":"@deprecated - Use schema_init_statements instead","label":"repeated","type":"TableInitStatementsEntry","longType":"GetConnectionInitStatementsResponse.TableInitStatementsEntry","fullType":"mgmt.v1alpha1.GetConnectionInitStatementsResponse.TableInitStatementsEntry","ismap":true,"isoneof":false,"oneofdecl":"","defaultValue":"","options":{"deprecated":true},"typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectioninitstatementsresponsetableinitstatementsentry"},{"name":"table_truncate_statements","description":"The key here is <schema>.<table> and value is the table truncate statement.","label":"repeated","type":"TableTruncateStatementsEntry","longType":"GetConnectionInitStatementsResponse.TableTruncateStatementsEntry","fullType":"mgmt.v1alpha1.GetConnectionInitStatementsResponse.TableTruncateStatementsEntry","ismap":true,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectioninitstatementsresponsetabletruncatestatementsentry"},{"name":"schema_init_statements","description":"A list of schema initialization statements","label":"repeated","type":"SchemaInitStatements","longType":"SchemaInitStatements","fullType":"mgmt.v1alpha1.SchemaInitStatements","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#schemainitstatements"}]}} />


### `GetConnectionInitStatementsResponse.TableInitStatementsEntry`
<ProtoMessage key={23} message={{"name":"TableInitStatementsEntry","longName":"GetConnectionInitStatementsResponse.TableInitStatementsEntry","fullName":"mgmt.v1alpha1.GetConnectionInitStatementsResponse.TableInitStatementsEntry","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"key","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetConnectionInitStatementsResponse.TableTruncateStatementsEntry`
<ProtoMessage key={24} message={{"name":"TableTruncateStatementsEntry","longName":"GetConnectionInitStatementsResponse.TableTruncateStatementsEntry","fullName":"mgmt.v1alpha1.GetConnectionInitStatementsResponse.TableTruncateStatementsEntry","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"key","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetConnectionSchemaMapRequest`
<ProtoMessage key={25} message={{"name":"GetConnectionSchemaMapRequest","longName":"GetConnectionSchemaMapRequest","fullName":"mgmt.v1alpha1.GetConnectionSchemaMapRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connection_id","description":"The unique identifier of the connection to get the schema map for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"schema_config","description":"The schema configuration to use for the schema map.","label":"","type":"ConnectionSchemaConfig","longType":"ConnectionSchemaConfig","fullType":"mgmt.v1alpha1.ConnectionSchemaConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#connectionschemaconfig"}]}} />


### `GetConnectionSchemaMapResponse`
<ProtoMessage key={26} message={{"name":"GetConnectionSchemaMapResponse","longName":"GetConnectionSchemaMapResponse","fullName":"mgmt.v1alpha1.GetConnectionSchemaMapResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"schema_map","description":"Returns the database columns separated by the fully qualified <schema>.<table>","label":"repeated","type":"SchemaMapEntry","longType":"GetConnectionSchemaMapResponse.SchemaMapEntry","fullType":"mgmt.v1alpha1.GetConnectionSchemaMapResponse.SchemaMapEntry","ismap":true,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectionschemamapresponseschemamapentry"}]}} />


### `GetConnectionSchemaMapResponse.SchemaMapEntry`
<ProtoMessage key={27} message={{"name":"SchemaMapEntry","longName":"GetConnectionSchemaMapResponse.SchemaMapEntry","fullName":"mgmt.v1alpha1.GetConnectionSchemaMapResponse.SchemaMapEntry","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"key","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"","label":"","type":"GetConnectionSchemaResponse","longType":"GetConnectionSchemaResponse","fullType":"mgmt.v1alpha1.GetConnectionSchemaResponse","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectionschemaresponse"}]}} />


### `GetConnectionSchemaMapsRequest`
<ProtoMessage key={28} message={{"name":"GetConnectionSchemaMapsRequest","longName":"GetConnectionSchemaMapsRequest","fullName":"mgmt.v1alpha1.GetConnectionSchemaMapsRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"requests","description":"List of connection schema maps to request","label":"repeated","type":"GetConnectionSchemaMapRequest","longType":"GetConnectionSchemaMapRequest","fullType":"mgmt.v1alpha1.GetConnectionSchemaMapRequest","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectionschemamaprequest"}]}} />


### `GetConnectionSchemaMapsResponse`
<ProtoMessage key={29} message={{"name":"GetConnectionSchemaMapsResponse","longName":"GetConnectionSchemaMapsResponse","fullName":"mgmt.v1alpha1.GetConnectionSchemaMapsResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"responses","description":"List of responses in the same order as the input","label":"repeated","type":"GetConnectionSchemaMapResponse","longType":"GetConnectionSchemaMapResponse","fullType":"mgmt.v1alpha1.GetConnectionSchemaMapResponse","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectionschemamapresponse"},{"name":"connection_ids","description":"Parallel array of each connection id that matches with the response","label":"repeated","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetConnectionSchemaRequest`
<ProtoMessage key={30} message={{"name":"GetConnectionSchemaRequest","longName":"GetConnectionSchemaRequest","fullName":"mgmt.v1alpha1.GetConnectionSchemaRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connection_id","description":"The unique identifier of the connection to get the schema for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"schema_config","description":"The schema configuration to use for the schema map.","label":"","type":"ConnectionSchemaConfig","longType":"ConnectionSchemaConfig","fullType":"mgmt.v1alpha1.ConnectionSchemaConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#connectionschemaconfig"}]}} />


### `GetConnectionSchemaResponse`
<ProtoMessage key={31} message={{"name":"GetConnectionSchemaResponse","longName":"GetConnectionSchemaResponse","fullName":"mgmt.v1alpha1.GetConnectionSchemaResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"schemas","description":"The list of database columns","label":"repeated","type":"DatabaseColumn","longType":"DatabaseColumn","fullType":"mgmt.v1alpha1.DatabaseColumn","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#databasecolumn"}]}} />


### `GetConnectionTableConstraintsRequest`
<ProtoMessage key={32} message={{"name":"GetConnectionTableConstraintsRequest","longName":"GetConnectionTableConstraintsRequest","fullName":"mgmt.v1alpha1.GetConnectionTableConstraintsRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"connection_id","description":"The unique identifier of the connection to get the constraints for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetConnectionTableConstraintsResponse`
<ProtoMessage key={33} message={{"name":"GetConnectionTableConstraintsResponse","longName":"GetConnectionTableConstraintsResponse","fullName":"mgmt.v1alpha1.GetConnectionTableConstraintsResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"foreign_key_constraints","description":"the key here is <schema>.<table> and the list of tables that it depends on, also `<schema>.<table>` format.","label":"repeated","type":"ForeignKeyConstraintsEntry","longType":"GetConnectionTableConstraintsResponse.ForeignKeyConstraintsEntry","fullType":"mgmt.v1alpha1.GetConnectionTableConstraintsResponse.ForeignKeyConstraintsEntry","ismap":true,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectiontableconstraintsresponseforeignkeyconstraintsentry"},{"name":"primary_key_constraints","description":"the key here is <schema>.<table> and value is the primary constraint","label":"repeated","type":"PrimaryKeyConstraintsEntry","longType":"GetConnectionTableConstraintsResponse.PrimaryKeyConstraintsEntry","fullType":"mgmt.v1alpha1.GetConnectionTableConstraintsResponse.PrimaryKeyConstraintsEntry","ismap":true,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectiontableconstraintsresponseprimarykeyconstraintsentry"},{"name":"unique_constraints","description":"the key here is <schema>.<table> and value is the unique constraint","label":"repeated","type":"UniqueConstraintsEntry","longType":"GetConnectionTableConstraintsResponse.UniqueConstraintsEntry","fullType":"mgmt.v1alpha1.GetConnectionTableConstraintsResponse.UniqueConstraintsEntry","ismap":true,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectiontableconstraintsresponseuniqueconstraintsentry"},{"name":"unique_indexes","description":"the key here is <schema>.<table> and value is the unique index","label":"repeated","type":"UniqueIndexesEntry","longType":"GetConnectionTableConstraintsResponse.UniqueIndexesEntry","fullType":"mgmt.v1alpha1.GetConnectionTableConstraintsResponse.UniqueIndexesEntry","ismap":true,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectiontableconstraintsresponseuniqueindexesentry"}]}} />


### `GetConnectionTableConstraintsResponse.ForeignKeyConstraintsEntry`
<ProtoMessage key={34} message={{"name":"ForeignKeyConstraintsEntry","longName":"GetConnectionTableConstraintsResponse.ForeignKeyConstraintsEntry","fullName":"mgmt.v1alpha1.GetConnectionTableConstraintsResponse.ForeignKeyConstraintsEntry","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"key","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"","label":"","type":"ForeignConstraintTables","longType":"ForeignConstraintTables","fullType":"mgmt.v1alpha1.ForeignConstraintTables","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#foreignconstrainttables"}]}} />


### `GetConnectionTableConstraintsResponse.PrimaryKeyConstraintsEntry`
<ProtoMessage key={35} message={{"name":"PrimaryKeyConstraintsEntry","longName":"GetConnectionTableConstraintsResponse.PrimaryKeyConstraintsEntry","fullName":"mgmt.v1alpha1.GetConnectionTableConstraintsResponse.PrimaryKeyConstraintsEntry","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"key","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"","label":"","type":"PrimaryConstraint","longType":"PrimaryConstraint","fullType":"mgmt.v1alpha1.PrimaryConstraint","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#primaryconstraint"}]}} />


### `GetConnectionTableConstraintsResponse.UniqueConstraintsEntry`
<ProtoMessage key={36} message={{"name":"UniqueConstraintsEntry","longName":"GetConnectionTableConstraintsResponse.UniqueConstraintsEntry","fullName":"mgmt.v1alpha1.GetConnectionTableConstraintsResponse.UniqueConstraintsEntry","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"key","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"","label":"","type":"UniqueConstraints","longType":"UniqueConstraints","fullType":"mgmt.v1alpha1.UniqueConstraints","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#uniqueconstraints"}]}} />


### `GetConnectionTableConstraintsResponse.UniqueIndexesEntry`
<ProtoMessage key={37} message={{"name":"UniqueIndexesEntry","longName":"GetConnectionTableConstraintsResponse.UniqueIndexesEntry","fullName":"mgmt.v1alpha1.GetConnectionTableConstraintsResponse.UniqueIndexesEntry","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"key","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"","label":"","type":"UniqueIndexes","longType":"UniqueIndexes","fullType":"mgmt.v1alpha1.UniqueIndexes","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#uniqueindexes"}]}} />


### `GetTableRowCountRequest`
<ProtoMessage key={38} message={{"name":"GetTableRowCountRequest","longName":"GetTableRowCountRequest","fullName":"mgmt.v1alpha1.GetTableRowCountRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"connection_id","description":"The unique identifier of the connection to get the row count for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"schema","description":"The schema of the table to get the row count for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"table","description":"The table to get the row count for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"where_clause","description":"The optional where clause to filter the rows by.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_where_clause","defaultValue":""}]}} />


### `GetTableRowCountResponse`
<ProtoMessage key={39} message={{"name":"GetTableRowCountResponse","longName":"GetTableRowCountResponse","fullName":"mgmt.v1alpha1.GetTableRowCountResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"count","description":"The count of the rows in the table","label":"","type":"int64","longType":"int64","fullType":"int64","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `InitStatementOptions`
<ProtoMessage key={40} message={{"name":"InitStatementOptions","longName":"InitStatementOptions","fullName":"mgmt.v1alpha1.InitStatementOptions","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"init_schema","description":"Whether or not to generate schema init statements.","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"truncate_before_insert","description":"Whether or not to generate truncation statements","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"truncate_cascade","description":"Whether or not to generate truncate cascade statements.","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `MongoSchemaConfig`
<ProtoMessage key={41} message={{"name":"MongoSchemaConfig","longName":"MongoSchemaConfig","fullName":"mgmt.v1alpha1.MongoSchemaConfig","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `MssqlSchemaConfig`
<ProtoMessage key={42} message={{"name":"MssqlSchemaConfig","longName":"MssqlSchemaConfig","fullName":"mgmt.v1alpha1.MssqlSchemaConfig","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `MysqlSchemaConfig`
<ProtoMessage key={43} message={{"name":"MysqlSchemaConfig","longName":"MysqlSchemaConfig","fullName":"mgmt.v1alpha1.MysqlSchemaConfig","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `MysqlStreamConfig`
<ProtoMessage key={44} message={{"name":"MysqlStreamConfig","longName":"MysqlStreamConfig","fullName":"mgmt.v1alpha1.MysqlStreamConfig","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `PostgresSchemaConfig`
<ProtoMessage key={45} message={{"name":"PostgresSchemaConfig","longName":"PostgresSchemaConfig","fullName":"mgmt.v1alpha1.PostgresSchemaConfig","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `PostgresStreamConfig`
<ProtoMessage key={46} message={{"name":"PostgresStreamConfig","longName":"PostgresStreamConfig","fullName":"mgmt.v1alpha1.PostgresStreamConfig","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `PrimaryConstraint`
<ProtoMessage key={47} message={{"name":"PrimaryConstraint","longName":"PrimaryConstraint","fullName":"mgmt.v1alpha1.PrimaryConstraint","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"columns","description":"The columns that are part of the primary constraint","label":"repeated","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `SchemaInitStatements`
<ProtoMessage key={48} message={{"name":"SchemaInitStatements","longName":"SchemaInitStatements","fullName":"mgmt.v1alpha1.SchemaInitStatements","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"label","description":"A friendly label associated with the generated schema init statement(s)","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"statements","description":"A list of SQL statements that may be used to initialize a database from scratch.","label":"repeated","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `UniqueConstraint`
<ProtoMessage key={49} message={{"name":"UniqueConstraint","longName":"UniqueConstraint","fullName":"mgmt.v1alpha1.UniqueConstraint","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"columns","description":"The columns that are part of the unique constraint","label":"repeated","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `UniqueConstraints`
<ProtoMessage key={50} message={{"name":"UniqueConstraints","longName":"UniqueConstraints","fullName":"mgmt.v1alpha1.UniqueConstraints","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"constraints","description":"The unique constraints found for the table","label":"repeated","type":"UniqueConstraint","longType":"UniqueConstraint","fullType":"mgmt.v1alpha1.UniqueConstraint","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#uniqueconstraint"}]}} />


### `UniqueIndex`
<ProtoMessage key={51} message={{"name":"UniqueIndex","longName":"UniqueIndex","fullName":"mgmt.v1alpha1.UniqueIndex","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"columns","description":"The columns that are part of the unique index","label":"repeated","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `UniqueIndexes`
<ProtoMessage key={52} message={{"name":"UniqueIndexes","longName":"UniqueIndexes","fullName":"mgmt.v1alpha1.UniqueIndexes","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"indexes","description":"The unique indexes found for the table","label":"repeated","type":"UniqueIndex","longType":"UniqueIndex","fullType":"mgmt.v1alpha1.UniqueIndex","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/connection_data.proto#uniqueindex"}]}} />

---
## Services


### `ConnectionDataService`

Service for managing connection data.
This is used in handle data from a connection


#### `GetConnectionDataStream`
<ProtoServiceMethod key={'GetConnectionDataStream-0'} method={{"name":"GetConnectionDataStream","description":"Streaming endpoint that will stream the data available from the Connection to the client.\nUsed primarily by the CLI sync command.","requestType":"GetConnectionDataStreamRequest","requestLongType":"GetConnectionDataStreamRequest","requestFullType":"mgmt.v1alpha1.GetConnectionDataStreamRequest","requestStreaming":false,"responseType":"GetConnectionDataStreamResponse","responseLongType":"GetConnectionDataStreamResponse","responseFullType":"mgmt.v1alpha1.GetConnectionDataStreamResponse","responseStreaming":true,"requestTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectiondatastreamrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectiondatastreamresponse"}} />


#### `GetConnectionSchema`
<ProtoServiceMethod key={'GetConnectionSchema-1'} method={{"name":"GetConnectionSchema","description":"Returns the schema for a specific connection. Used mostly for SQL-based connections","requestType":"GetConnectionSchemaRequest","requestLongType":"GetConnectionSchemaRequest","requestFullType":"mgmt.v1alpha1.GetConnectionSchemaRequest","requestStreaming":false,"responseType":"GetConnectionSchemaResponse","responseLongType":"GetConnectionSchemaResponse","responseFullType":"mgmt.v1alpha1.GetConnectionSchemaResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectionschemarequest","responseTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectionschemaresponse"}} />


#### `GetConnectionSchemaMap`
<ProtoServiceMethod key={'GetConnectionSchemaMap-2'} method={{"name":"GetConnectionSchemaMap","description":"Returns the schema in map format. The keys are the fully qualified table in the format <schema>.<table>","requestType":"GetConnectionSchemaMapRequest","requestLongType":"GetConnectionSchemaMapRequest","requestFullType":"mgmt.v1alpha1.GetConnectionSchemaMapRequest","requestStreaming":false,"responseType":"GetConnectionSchemaMapResponse","responseLongType":"GetConnectionSchemaMapResponse","responseFullType":"mgmt.v1alpha1.GetConnectionSchemaMapResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectionschemamaprequest","responseTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectionschemamapresponse"}} />


#### `GetConnectionSchemaMaps`
<ProtoServiceMethod key={'GetConnectionSchemaMaps-3'} method={{"name":"GetConnectionSchemaMaps","description":"Returns the schema in map format for every request provided","requestType":"GetConnectionSchemaMapsRequest","requestLongType":"GetConnectionSchemaMapsRequest","requestFullType":"mgmt.v1alpha1.GetConnectionSchemaMapsRequest","requestStreaming":false,"responseType":"GetConnectionSchemaMapsResponse","responseLongType":"GetConnectionSchemaMapsResponse","responseFullType":"mgmt.v1alpha1.GetConnectionSchemaMapsResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectionschemamapsrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectionschemamapsresponse"}} />


#### `GetConnectionTableConstraints`
<ProtoServiceMethod key={'GetConnectionTableConstraints-4'} method={{"name":"GetConnectionTableConstraints","description":"For a specific connection, returns the table constraints. Mostly useful for SQL-based Connections.","requestType":"GetConnectionTableConstraintsRequest","requestLongType":"GetConnectionTableConstraintsRequest","requestFullType":"mgmt.v1alpha1.GetConnectionTableConstraintsRequest","requestStreaming":false,"responseType":"GetConnectionTableConstraintsResponse","responseLongType":"GetConnectionTableConstraintsResponse","responseFullType":"mgmt.v1alpha1.GetConnectionTableConstraintsResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectiontableconstraintsrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectiontableconstraintsresponse"}} />


#### `GetConnectionInitStatements`
<ProtoServiceMethod key={'GetConnectionInitStatements-5'} method={{"name":"GetConnectionInitStatements","description":"For a specific connection, returns the init table statements. Mostly useful for SQL-based Connections.\nUsed primarily by the CLI sync command to create table schema init statement.","requestType":"GetConnectionInitStatementsRequest","requestLongType":"GetConnectionInitStatementsRequest","requestFullType":"mgmt.v1alpha1.GetConnectionInitStatementsRequest","requestStreaming":false,"responseType":"GetConnectionInitStatementsResponse","responseLongType":"GetConnectionInitStatementsResponse","responseFullType":"mgmt.v1alpha1.GetConnectionInitStatementsResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectioninitstatementsrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getconnectioninitstatementsresponse"}} />


#### `GetAiGeneratedData`
<ProtoServiceMethod key={'GetAiGeneratedData-6'} method={{"name":"GetAiGeneratedData","description":"Query an AI connection by providing the necessary values. Typically used for generating preview data","requestType":"GetAiGeneratedDataRequest","requestLongType":"GetAiGeneratedDataRequest","requestFullType":"mgmt.v1alpha1.GetAiGeneratedDataRequest","requestStreaming":false,"responseType":"GetAiGeneratedDataResponse","responseLongType":"GetAiGeneratedDataResponse","responseFullType":"mgmt.v1alpha1.GetAiGeneratedDataResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getaigenerateddatarequest","responseTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getaigenerateddataresponse"}} />


#### `GetTableRowCount`
<ProtoServiceMethod key={'GetTableRowCount-7'} method={{"name":"GetTableRowCount","description":"Query table with subset to get row count","requestType":"GetTableRowCountRequest","requestLongType":"GetTableRowCountRequest","requestFullType":"mgmt.v1alpha1.GetTableRowCountRequest","requestStreaming":false,"responseType":"GetTableRowCountResponse","responseLongType":"GetTableRowCountResponse","responseFullType":"mgmt.v1alpha1.GetTableRowCountResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#gettablerowcountrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#gettablerowcountresponse"}} />


#### `GetAllSchemasAndTables`
<ProtoServiceMethod key={'GetAllSchemasAndTables-8'} method={{"name":"GetAllSchemasAndTables","description":"Get all schemas and tables for a connection","requestType":"GetAllSchemasAndTablesRequest","requestLongType":"GetAllSchemasAndTablesRequest","requestFullType":"mgmt.v1alpha1.GetAllSchemasAndTablesRequest","requestStreaming":false,"responseType":"GetAllSchemasAndTablesResponse","responseLongType":"GetAllSchemasAndTablesResponse","responseFullType":"mgmt.v1alpha1.GetAllSchemasAndTablesResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getallschemasandtablesrequest","responseTypeLink":"/api/mgmt/v1alpha1/connection_data.proto#getallschemasandtablesresponse"}} />


---


  